package com.lagou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

@SpringBootApplication
/** 整合MyBatis：扫描com.lagou.mapper包下的mapper接口，生成代理对象存到容器中 */
@MapperScan("com.lagou.mapper")
public class SpringBootDataaccessApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringBootDataaccessApplication.class, args);
	}

}
